package com.yasenagat.zkweb.service;

import com.yasenagat.zkweb.entity.Customer;
import org.springframework.data.domain.Page;

import java.util.List;

public interface ZkQueryService {

    //无条件分页查询
    Page<Customer> findCustomerNoCriteria(Integer page,Integer size);

    //有条件分页查询
    Page<Customer> findCustomerCriteria(Integer page,Integer size,Customer customer);

    //无条件分页查询
    int totalCount();
}
